﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Input;

namespace BBInterfaceNET.ViewModels
{
    public class CommandViewModel
    {
        public string DisplayName { get; private set; }
        public ICommand Command { get; private set; }

        public CommandViewModel(string displayName, ICommand cmd)
        {
            if (displayName == null) throw new ArgumentNullException("displayName");

            DisplayName = displayName;
            Command = cmd;
        }
    }
}
